@import '../../../styles/variables';
@import '../../../styles/mixins/breakpoints';

.ea-details {
  &__header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 0.3rem;
  }

  &__logo {
    flex: 0 0 48px;
    margin-right: 1rem;

    img {
      background: var(--color-black);
      border-radius: 3px;
      display: block;
    }
  }

  &__tagline {
    flex: 0 1 auto;
  }

  &__title {
    display: inline-block;
    margin: 0 0;
    border-bottom: 1px solid var(--color-text);
  }
}

.ea-enemies {
  display: flex;
  margin-bottom: 0.2em;
  border: 1px solid var(--color-border-light);
  border-radius: 10px;
  align-items: center;
  background: var(--gradient-primary);

  &__quantity {
    border-right: 1px solid var(--color-border-light);
    padding: 5px;
    margin-right: 5px;
    min-width: 26px;
    text-align: center;
  }

  &__ship {
    flex: 0 1 auto;
    padding: 5px 0 2px;
  }

  &__type {
    margin: 0;
    line-height: 0.7;
  }

  &__names {
    margin: 5px 0 2px;
    font-size: 11px;
    font-style: italic;
    line-height: 1;
  }

  &__effects {
    flex: 2 0 auto;
    margin-left: 8px;
    height: 32px;
    line-height: 1;
    text-align: right;
  }

  &__effect {
    display: inline-block;
    height: 28px;
    width: 28px;
    margin-top: 2px;

    &:first-of-type {
      padding-left: 5px;
      width: 33px;
      margin-right: 5px;
      border-left: 1px solid var(--color-border-light);
    }
  }

  &__notice {
    font-size: 11px;
    font-weight: bold;
    margin: 0;
  }
}
